/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.foxline.clinicplus.enums;

/**
 *
 * @author ely
 */
public enum Gender {
    MASCULINO("Masculino"), FEMININO("Feminino");

    
    private String name;

    public String getName() {
        return name;
    }
    
     private Gender(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        if(name.equalsIgnoreCase("Masculino"))
        return "M";
        
        return "F";
    }

   
 
    
   

  
     

    
}
